package com.ssy.lingxi.marketing.constant;

import com.ssy.lingxi.common.language.LanguageHolder;

/**
 * 营销活动字段枚举
 * @author lqa
 * @version 2.0.0
 * @date 2022/2/16
 */
public enum MarketingFieldsEnum {
    FALL(1,"直降"),
    YUAN(2,"元"),
    FOLD_UP(3,"折起"),
    FULL(4,"满"),
    PIECE_MINUS(5,"件减"),
    REDUCE(6,"减"),
    FOLD(7,"折"),
    THE_FIRST(8,"第"),
    ITEM(9,"件"),
    GROUP_OF_PEOPLE(10,"人团"),
    REDEMPTION(11,"加20元换购"),
    EARNEST_MONEY(12,"定金"),
    YUAN_ARRIVES(13,"元抵"),
    ;

    private final Integer code;

    MarketingFieldsEnum(Integer code, String message) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return LanguageHolder.getName(this.getClass(),this.code);
    }
}
